package com.ruoyi.equip.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;

import com.baomidou.mybatisplus.annotation.TableField;

import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 *
 * </p>
 *
 * @author
 * @since 2024-04-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("equip_product")
@ApiModel(value = "EquipProduct对象", description = "")
public class EquipProduct extends BaseEntity {


    @TableId(value = "id")
    private Long id;

    @ApiModelProperty(value = "productKey")
    @TableField("product_key")
    private String productKey;

    @ApiModelProperty(value = "品类id")
    @TableField("category_id")
    private String categoryId;

    @ApiModelProperty(value = "图片地址")
    @TableField("img")
    private String img;

    @ApiModelProperty(value = "产品名称")
    @TableField("name")
    private String name;

    @ApiModelProperty(value = "设备类型")
    @TableField("node_type")
    private Integer nodeType;

    @ApiModelProperty(value = "传输方式 1MQTT 2UDP 3TCP")
    @TableField("trans_mode")
    private Integer transMode;

    @ApiModelProperty(value = "是否开启设备定位 0 否 1开启")
    @TableField("open_locate")
    private Integer openLocate;

    @ApiModelProperty(value = "定位更新方式  1 手动更新 2 设备上传")
    @TableField("locate_update_type")
    private String locateUpdateType;

    @ApiModelProperty(value = "保活时长")
    @TableField("keep_alive_time")
    private Integer keepAliveTime;



}
